﻿<Window x:Class="PhotonTestClient.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:PhotonTestClient"
        mc:Ignorable="d"
        Title="PhotonServer Test Client V0.1" Height="500" Width="1000"
        WindowStartupLocation="CenterScreen" Background="#FFC1C1C1" SnapsToDevicePixels="True">
    <Grid>
        <Label x:Name="IPAddress_label" Content="IP-Address" HorizontalAlignment="Left" Height="20" Margin="10,10,0,0"
               VerticalAlignment="Top" Width="70" FontSize="10" ToolTip="IP-Adress of the photon server"
               VerticalContentAlignment="Center" Padding="5,0,0,0" />
        <TextBox x:Name="IPAddress" HorizontalAlignment="Left" Height="20" Margin="81,10,0,0" Padding="5,0,0,0"
                 TextWrapping="Wrap" VerticalAlignment="Top" Width="120" VerticalContentAlignment="Center"
                 FontSize="10" Text="127.0.0.1" />
        <Button x:Name="Connect_Button" Content="Connect" HorizontalAlignment="Left" Margin="236,11,0,0"
                VerticalAlignment="Top" Width="75" FontSize="10" Click="Connect_Button_OnClick" />
        <Button x:Name="Disconnect_Button" Content="Disconnect" HorizontalAlignment="Left" Margin="345,11,0,0"
                VerticalAlignment="Top" FontSize="10" Width="75" Click="Disconnect_Button_OnClick" />
        <TextBox x:Name="StatusTextBox" HorizontalAlignment="Left" Height="388" Margin="10,71,0,0"
                 TextWrapping="Wrap" VerticalAlignment="Top" Width="972" FontSize="10" IsEnabled="False"
                 ScrollViewer.CanContentScroll="True" VerticalScrollBarVisibility="Auto" Grid.RowSpan="2" />
        <Label x:Name="IPAddress_label_Copy" Content="Status" HorizontalAlignment="Left" Height="20"
               Margin="915,9,0,0" VerticalAlignment="Top" Width="45" FontSize="10"
               ToolTip="IP-Adress of the photon server" VerticalContentAlignment="Center" Padding="5,0,0,0" />
        <Ellipse x:Name="StatusIndicator" Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="17" Margin="965,11,0,0"
                 Stroke="Black" VerticalAlignment="Top" Width="17" />

        <GridSplitter x:Name="gridSplitter" HorizontalAlignment="Left" Height="1" Margin="10,8.444,0,0"
                      VerticalAlignment="Top" Width="243" Grid.Row="1" />
        <Button x:Name="RegisterDialog" Content="Register" HorizontalAlignment="Left" Margin="10,46,0,0"
                VerticalAlignment="Top" Width="75" Height="20" FontSize="10" Click="RegisterDialog_OnClick" />
        <Button x:Name="LoginDialog" Content="Login" HorizontalAlignment="Left" Margin="106,46,0,0"
                VerticalAlignment="Top" Width="75" Height="20" FontSize="10" Click="LoginDialog_OnClick" />
        <Button x:Name="DeleteDialog" Content="Delete" HorizontalAlignment="Left" Margin="199,46,0,0"
                VerticalAlignment="Top" Width="75" Height="20" FontSize="10" Click="DeleteDialog_OnClick" />
        <Button x:Name="GetRealmDialog" Content="Get Relams" HorizontalAlignment="Left" Margin="294,46,0,0"
        	VerticalAlignment="Top" Width="75" Height="20" FontSize="10" Click="GetRealmDialog_OnClick" />
    </Grid>
</Window>